<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-18 21:19:33
 * @LastEditTime: 2023-06-28 15:23:24
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Http\Controllers\BaseData;

use App\Http\Controllers\Controller;

use App\Http\Services\BaseData\CurrencyService;
use Illuminate\Http\Request;

class CurrencyController extends Controller
    {
    // 
    public function __construct(CurrencyService $service)
        {
        $this->service = $service;

        }

    public function list()
        {
        return $this->service->list();
        }

    public function save(Request $request)
        {
        return $this->service->save($request);
        }
    public function delete()
        {
        return $this->service->delete();
        }

    }